home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr25 / memsz130.zip / MEMSIZE.IPF < prev    next >
Text File  |  1993-03-14  |  7KB  |  173 lines

  1. :userdoc.
  2. :title."System Resources" Help
  3. :body.
  4.  
  5. :h1 res=1.Introduction
  6. :i1.Introduction
  7. :artwork name='memsize.bmp' align=center.
  8. :p.
  9. This program displays several items related to system resources,
  10. and updates the display once per second, providing it is given
  11. CPU time to do so.  The items displayed are:
  12. :p.
  13. :hp2.Available Memory:ehp2. - The amount of system memory
  14. available, according to the :hp1.DosMemAvail:ehp1. function.
  15. Under OS/2 1.x, this function supposedly reports the size of the largest
  16. single block of free memory, although some have said that with the MEMMOVE
  17. option turned on, that's the same as the total free memory.
  18. Under OS/2 2.0, the true amount of unused physical memory is reported,
  19. or 512K, whichever is larger.
  20. There is a new function under the 32-bit API which reports how much
  21. physical memory exists, how much is committed to the resident system
  22. and how much is free, but since this program is a 16-bit application,
  23. I don't have access to the function.
  24. :p.
  25. :hp2.Swap File Size:ehp2. - The current size of the system
  26. virtual memory swap file, SWAPPER.DAT.
  27. To locate the file, the file CONFIG.SYS is scanned for its SWAPPATH entry.
  28. That entry provides the full name of the swap-file's directory and
  29. indicates the minimum free space that must be left on the swap-file's
  30. disk drive.
  31. :p.
  32. :hp2.Available Swap Space:ehp2. - The amount of free disk space on the
  33. logical disk drive where the system swap file resides, less the mininum
  34. free space.  This is how much more the swap file could expand, if necessary.
  35. :p.
  36. :hp2.Spool File Size:ehp2. - The amount of disk space consumed by spool files.
  37. :p.
  38. :hp2.CPU Load (%):ehp2. - The approximate percentage of the CPU's available
  39. horsepower that's being used at the moment.  It is averaged over the previous
  40. second.  On my home system, which is a '286, the normal activity shows 8-10%
  41. when nothing except MEMSIZE and my clock are active.  On my system at work,
  42. a 20MHz 386 running OS/2 2.0, the normal activity shows about 20%.  I presume
  43. the extra overhead has to do with the swap-file optimizer.
  44. :p.
  45. :hp2.Drive X Free:ehp2. - The amount of free space on drive X.
  46. :p.
  47. The help facility is active, as you've already seen, and those program
  48. commands that exist may be accessed via the window's system menu.  The
  49. following commands are available:
  50. :p.:lm margin=10.
  51. :hpt.Save Defaults:ehpt.:hdref res=11.
  52. .br
  53. :hpt.Reset Defaults:ehpt.:hdref res=12.
  54. .br
  55. :hpt.Hide Controls:ehpt.:hdref res=13.
  56. .br
  57. :hpt.Show Memory Free:ehpt.:hdref res=14.
  58. .br
  59. :hpt.Show Swapfile Size:ehpt.:hdref res=15.
  60. .br
  61. :hpt.Show Swapdisk Free:ehpt.:hdref res=16.
  62. .br
  63. :hpt.Show Spoolfile Size:ehpt.:hdref res=17.
  64. .br
  65. :hpt.Show CPU Load:ehpt.:hdref res=18.
  66. .br
  67. :hpt.Show C: Free Space:ehpt.:hdref res=53.
  68. .br
  69. :hpt.About:ehpt.:hdref res=19.
  70. :p.:lm margin=1.
  71. In addition to those features already described, this program accepts
  72. commands from the OS/2 2.0 Font and Color Palette programs.  I don't
  73. know of equivalent programs for OS/2 1.x, but from what I've learned,
  74. making such a thing should be no big deal.  The basic palette function
  75. does not require OS/2 2.0 to make it work, since it uses the presentation
  76. parameter facility added under OS/2 1.2.
  77.  
  78. :h1 res=11.Save Defaults (Menu Option)
  79. :i1.Save Defaults (Menu Option)
  80. When you select this menu option, the program saves its current position
  81. and the status of the Hide Controls option.  The next time the program
  82. is started, it will be started with that position and with the controls
  83. hidden (or not) according to the saved state.
  84. :p.
  85. The short-cut key for this command is F2.
  86.  
  87. :h1 res=12.Reset Defaults (Menu Option)
  88. :i1.Reset Defaults (Menu Option)
  89. Selecting this menu option will reset the program's font and color
  90. attributes to their default values.
  91.  
  92. :h1 res=13.Hide Controls (Menu Option)
  93. :i1.Hide Controls (Menu Option)
  94. This menu option, when selected, will cause the program's frame controls
  95. (the system menu, the titlebar and the minimize button) to be hidden.
  96. This option can be toggled with a double-click on either mouse button.
  97. Also, since I saw it as very useful to be able to move the window while
  98. the controls were hidden, the window has been set up so that you can
  99. drag it with either mouse button.
  100.  
  101. :h1 res=14.Show Memory Free (Menu Option)
  102. :i1.Show Memory Free (Menu Option)
  103. Selecting this option will toggle whether or not the amount of system memory
  104. free is displayed.  If the option is check-marked, the free memory is being
  105. displayed currently.  When the option's state is changed, the program window
  106. will automatically resize itself to suit the new number of displayed items.
  107.  
  108. :h1 res=15.Show Swapfile Size (Menu Option)
  109. :i1.Show Swapfile Size (Menu Option)
  110. Selecting this option will toggle whether or not the swap-file's current size
  111. is displayed.  If the option is check-marked, the file size is being displayed
  112. currently.  When the option's state is changed, the program window will
  113. automatically resize itself to suit the new number of displayed items.
  114.  
  115. :h1 res=16.Show Swap Space Free (Menu Option)
  116. :i1.Show Swap Space Free (Menu Option)
  117. Selecting this option will toggle whether or not the available swap space
  118. is displayed.  If the option is check-marked, the free space is being
  119. displayed at this time.  When the option's state is changed, the program
  120. window will automatically resize itself to suit the new number of displayed
  121. items.
  122.  
  123. :h1 res=17.Show Spoolfile Size (Menu Option)
  124. :i1.Show Spoolfile Size (Menu Option)
  125. Selecting this option will toggle whether or not the amount of disk space
  126. consumed by the spooler is displayed.  If the option is check-marked, the
  127. amount is being displayed at this time.  When the option's state is changed,
  128. the program window will automatically resize itself to suit the new number
  129. of displayed items.
  130.  
  131. :h1 res=18.Show CPU Load (Menu Option)
  132. :i1.Show CPU Load (Menu Option)
  133. Selecting this option will toggle whether or not the current CPU load is
  134. displayed.  If the option is check-marked, the free space is being displayed
  135. at this time.  When the option's state is changed, the program
  136. window will automatically resize itself to suit the new number of displayed
  137. items.
  138.  
  139. :h1 res=19.About (Menu Option)
  140. :i1.About (Menu Option)
  141. This menu option, when selected, will cause the program's About dialog
  142. to be displayed.
  143.  
  144. :h1 res=190.About (Dialog)
  145. :i1.About (Dialog)
  146. This dialog box displays the program name, icon and copyright information.
  147. To exit the dialog, press the ENTER key, the SPACE bar or the ESCAPE key.
  148.  
  149. :h1 res=53.Show C: Free Space (Menu Option)
  150. :i1.Show C: Free Space (Menu Option)
  151. Selecting this option will toggle whether or not the free space on drive C:
  152. is displayed.  If the option is check-marked, the free space is being
  153. displayed at this time.  When the option's state is changed, the program
  154. window will automatically resize itself to suit the new number of displayed
  155. items.
  156.  
  157. :h1 res=99.Keys Help
  158. :i1.Keys Help
  159. The following function keys have been defined for this program:
  160. :p.
  161. :lm margin=10.
  162. F1 - Help
  163. .br
  164. F2 - Save Defaults
  165. .br
  166. F3 - Exit
  167. :p.
  168.  
  169. :euserdoc.
  170.  
  171.  
  172. 
  173.